#ifndef LOGIN_H
#define LOGIN_H

#include <QWidget>
#include<QSqlDatabase>
QT_BEGIN_NAMESPACE
namespace Ui
{
class login;
}
QT_END_NAMESPACE

class login : public QWidget
{
    Q_OBJECT

public: login(QWidget* parent = nullptr);
    ~login();

private slots:

    void on_pushButtonLogin_clicked();

    void on_pushButtonEnroll_clicked();

private:
    Ui::login* ui;
    QSqlDatabase m_db;
};
#endif // LOGIN_H
